package com.ruoyi.ring.factory;

import com.ruoyi.common.enums.dict.AiPlatform;
import com.ruoyi.ora.service.IAiInterfaceService;
import com.ruoyi.ring.service.impl.ChatHunyuanServiceImpl;

public class AiFactory {

    public static IAiInterfaceService build(int aiPlatform){

        if (aiPlatform == AiPlatform.CHART_GPT.getValue()){
            return null;
        }else if (aiPlatform == AiPlatform.WHISPER.getValue()){
            return null;
        }else if (aiPlatform == AiPlatform.SGJ.getValue()){
            return null; //new SGJChatServiceImpl();
        }else if (aiPlatform == AiPlatform.HUNYUAN.getValue()){
            return new ChatHunyuanServiceImpl();
        }
        return null;
    }

}
